package com.ww.word.ui.more;

import android.os.Bundle;
import android.widget.TextView;

import com.ww.core.activity.MyActivity;
import com.ww.word.R;
import com.ww.word.db.WordDbHelper;

public class AboutActivity extends MyActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_about);
		setTitle(R.string.about_title);
		TextView t = (TextView) findViewById(R.id.txt);
		String str = t.getText().toString();
		WordDbHelper w = new WordDbHelper(this);
		t.setText(str.replace("xxxx", w.getWordCount() + ""));
	}

}
